package com.deep.seckill.model.constant;

/**
 * 秒杀常量
 *
 * @author Deep
 * @date 2022/2/21
 */
public class SeckillConstant {

    /**
     * 秒杀活动
     */
    public static final String SESSION_CACHE_PREFIX = "seckill:sessions:";

    /**
     * 具体商品
     */
    public static final String SECKILL_SKU_PREFIX = "seckill:skus";

    /**
     * 商品库存信号量
     */
    public static final String SKU_STOCK_SEMAPHORE = "seckill:stock:";    // +商品随机码
}
